home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Mac Game Programming Gurus / TricksOfTheMacGameProgrammingGurus.iso / CodeWarrior Lite / Metrowerks C⁄C++ Lite / Libraries / Runtime / Common Sources / (exception experimental) / exception < prev   
Encoding:
Text File  |  1995-03-15  |  651 b   |  22 lines  |  [TEXT/MMCC]

  1. /************************************************************************/
  2. /*    Project...:    Standard C++ Library                                    */
  3. /*    Name......:    exception                                                */
  4. /*    Purpose...:    exception handling                                        */
  5. /*  Copyright.: ©Copyright 1993-95 by metrowerks inc                    */
  6. /************************************************************************/
  7.  
  8. #ifndef _EXCEPTION_
  9. #define _EXCEPTION_
  10.  
  11. class XUNEXPECTED;    //    TO BE SPECIFIED
  12.  
  13. typedef void (*terminate_handler)();
  14. terminate_handler set_terminate(terminate_handler);
  15. void terminate();
  16.  
  17. typedef void (*unexpected_handler)();
  18. unexpected_handler set_unexpected(unexpected_handler);
  19. void unexpected();
  20.  
  21. #endif
  22.